<?php
abstract class Model
{
    private $db;

    public function __set($name, $val)
    {
        debug('class <strong>' . get_class($this) . '</strong> does not have ' . $name . ' properity.');
        debug();
    }

}
?>
